import request from '@/api/request'
/**
 * 
 * @param 发布招聘 
 */
export function add (params) {
    return request({
      url: `/job/add`,
      method: 'post',
      data:params
    })
}

/**
 *
 * @param 获取发布列表
 */
export function getList (params) {
  return request({
    url: `/job/getList`,
    method: 'get',
    params
  })
}

/**
 *
 * @param 删除招聘信息
 */
export function del (params) {
  return request({
    url: `/job/del`,
    method: 'get',
    params
  })
}